﻿using System;

namespace BLL
{
    public class EbookFile : NotifyPropertyChangedBase
    {
        private long _id;
        public Int64 Id
        {
            get { return _id; }
            set
            {
                _id = value;
                OnPropertyChanged("Id");
            }
        }

        private string _path;
        public string Path
        {
            get { return _path; }
            set
            {
                _path = value;
                OnPropertyChanged("Path");
            }
        }

        private string _format;
        public string Format
        {
            get { return _format; }
            set
            {
                _format = value;
                OnPropertyChanged("Format");
            }
        }

        private bool _download;
        public bool Download
        {
            get { return _download; }
            set
            {
                _download = value;
                OnPropertyChanged("Download");
            }
        }

        private bool _fail;
        public bool Fail
        {
            get { return _fail; }
            set
            {
                _fail = value;
                OnPropertyChanged("Fail");
            }
        }
    }
}
